package cn.aj.basic.controller;

import cn.aj.basic.vo.ShopEchartsVo;
import cn.aj.org.service.IShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/echarts")
public class EchartsController {

    @Autowired
    private IShopService shopService;
    /**
     * @Description: TODO
     * @Author: aj
     * @Version: 1.0
     * @Date:  2022/11/22 0022 21:54
     * 报表
     */
    @GetMapping()
    public ShopEchartsVo loadEcharts() {
        return shopService.loadEcharts();
    }
}
